package com.imooc.netty;

import java.io.Serializable;

/***
 *                    _ooOoo_
 *                   o8888888o
 *                   88" . "88
 *                   (| -_- |)
 *                    O\ = /O
 *                ____/`---'\____
 *              .   ' \\| |// `.
 *               / \\||| : |||// \
 *             / _||||| -:- |||||- \
 *               | | \\\ - /// | |
 *             | \_| ''\---/'' | |
 *              \ .-\__ `-` ___/-. /
 *           ___`. .' /--.--\ `. . __
 *        ."" '< `.___\_<|>_/___.' >'"".
 *       | | : `- \`.;`\ _ /`;.`/ - ` : | |
 *         \ \ `-. \_ __\ /__ _/ .-` / /
 * ======`-.____`-.___\_____/___.-`____.-'======
 *                    `=---='
 *
 * .............................................
 *          佛祖保佑             永无BUG
 */
/***
 * @ClassName: DataContent
 * @Description:
 * @author: wupeng
 * @date: 2018年12月24日 下午5:01:47
 */
public class DataContent implements Serializable
{
	private static final long serialVersionUID = 8021381444738260454L;
	private Integer action; // 动作类型
	private ChatMsg chatMsg; // 用户的聊天内容entity
	private String extand; // 扩展字段

	/**
	 * @return the action
	 */
	public Integer getAction()
	{
		return action;
	}

	/**
	 * @param action
	 *            the action to set
	 */
	public void setAction(Integer action)
	{
		this.action = action;
	}

	/**
	 * @return the chatMsg
	 */
	public ChatMsg getChatMsg()
	{
		return chatMsg;
	}

	/**
	 * @param chatMsg
	 *            the chatMsg to set
	 */
	public void setChatMsg(ChatMsg chatMsg)
	{
		this.chatMsg = chatMsg;
	}

	/**
	 * @return the extand
	 */
	public String getExtand()
	{
		return extand;
	}

	/**
	 * @param extand
	 *            the extand to set
	 */
	public void setExtand(String extand)
	{
		this.extand = extand;
	}
}
